﻿namespace TuLing.Entities
{
    public class BuyOrderReturn
    {
        public long Id { get; set; }
        public string Code { get; set; }
        public string Name { get; set; }
        public string? Remark { get; set; }
        public DateTime CreatedAt { get; set; } = DateTime.Now;

        public long SupplierId { get; set; }
        public long BuyOrderId { get; set; }

        public virtual Supplier Supplier { get; set; }        
        public virtual IList<BuyOrderReturnDetail> Details { get; set; } = new List<BuyOrderReturnDetail>();
    }
}
